﻿using System;

namespace Omu.Awesome.Mvc.Helpers
{
    [Obsolete("no need to set viewdata anymore, define all in the Item view instead")]
    public class LookupListInfo
    {
        public string Key { get; set; }

        public string[] Columns { get; set; }

        private string[] captions;

        public string[] Captions
        {
            get { return captions ?? Columns; }
            set { captions = value; }
        }
    }
}
